home *** CD-ROM | disk | FTP | other *** search
- Path: news.halcyon.com!usenet
- From: normanb@halcyon.com (Norm Bryar)
- Newsgroups: comp.lang.c++
- Subject: Re: VC++ 1.52 or 4.0 easy question!! ~please help~~~
- Date: Sat, 13 Apr 1996 16:44:36 GMT
- Organization: Northwest Nexus Inc.
- Message-ID: <4kolk8$fai@news.halcyon.com>
- References: <4kmdl5$54l@humerus.whin.net>
- NNTP-Posting-Host: blv-pm3-ip22.halcyon.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- cmchaff@whin.net (Collin Chaffin) wrote:
-
- >I am a VB programmer that is just starting with VC++, so forgive me I'm sure
- >this is an easy one, but I can't find anything on it. In VB, while in a loop,
- >I can call doevents() to let windows process, how do I accomplish this in VC++
- >in a do while loop? Also, how do I create an MFC non modal "Wait" type of
- >DialogBox to cancel the loop. Thanks ahead of time!!!
-
- >cmchaff@whin.net
-
- Look at the docs for PeekMessage. You can create a whole message
- pump, TranslateMessage(), DispatchMessage(), etc. within your loop
- this way. Be on guard for reentrancy, however; user tells your app to
- start your big loop or other incompatible actions while your already
- in your big loop.
-
- CDialog::Create() makes a modeless dialog.
-
- Good luck.
- --Norm
-
-